//
//  TaskTableViewCell.h
//  leo
//
//  Created by 常艳 on 15/9/19.
//  Copyright (c) 2015年 mdx. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
#import <CoreAudio/CoreAudioTypes.h>
#import "Task.h"
#define promptTask_tag  @"TaskTableViewCell-----------------"
@interface TaskTableViewCell : UITableViewCell<AVAudioRecorderDelegate,AVAudioPlayerDelegate,AVAudioSessionDelegate>
@property (weak, nonatomic) IBOutlet UILabel *titleLable;
@property (weak, nonatomic) IBOutlet UILabel *descLable;
@property (weak, nonatomic) IBOutlet UILabel *empLable;
@property (weak, nonatomic) IBOutlet UILabel *statusLable;
@property (weak, nonatomic) IBOutlet UIImageView *statusImg;
@property (weak, nonatomic) IBOutlet UIImageView *recordImg;
@property (weak, nonatomic) IBOutlet UIButton *playBtn;
@property (weak, nonatomic) IBOutlet UILabel *timeLable;
@property (nonatomic,strong) Task *task;

@property(nonatomic,assign) BOOL isPlay;
@property(nonatomic,strong) AVAudioPlayer *player;
-(void)initUI;
-(void)stop;
@end
